package data;

public class Player
        implements IPlayerReadOnly
{
    private static final String IP_FOR_AI = "-";

    private String              mIp       = IP_FOR_AI;
    private String              mName;
    private boolean             mReady    = false;

    public boolean isAiPlayer()
    {
        if( mIp.equals(IP_FOR_AI) )
        {
            return true;
        }
        return false;
    }

    public String getName()
    {
        return mName;
    }

    public void setName( String pName )
    {
        mName = pName;
    }

    public String getIp()
    {
        return mIp;
    }

    public void setIp( String pIp )
    {
        mIp = pIp;
    }

    public boolean isReady()
    {
        return mReady;
    }

    public void setReady( boolean pReady )
    {
        mReady = pReady;
    }

}
